﻿using WeDonekRpc.Helper.Validate;

namespace Shop.StoreGatewayModular.Model.ActivityGoods
{
    public class SetPriceParam
    {
        [NumValidate("shop.activity.goods.id.error", 1)]
        public long Id { get; set; }

        [NumValidate("shop.activity.goods.price.error", 1)]
        public decimal Price { get; set; }

        /// <summary>
        /// 是否是必须品
        /// </summary>
        public bool IsMust { get; set; }
    }
}
